package hu.vpszd.entities.customer

import javax.persistence.Column
import javax.persistence.Embeddable
import javax.validation.constraints.NotNull

@Embeddable
class AddressCard {
	
	@NotNull
	@Column(unique = true)
	String ACidentityNumber
	
	@NotNull
	Date ACvalidFrom
	
	@NotNull
	Date ACexpirationDate
	
	@NotNull
	String ACissuingAuthority
}
